package main

func main() {
	fakeFish := FakeFish{}
	fakeFish.FakeSwim()

	fish := Fish(fakeFish)
	fish.Swim()
}

type Fish struct {
}

func (f Fish) Swim() {
	println("我是一条鱼，一条真的鱼")
}

type FakeFish Fish

func (f FakeFish) FakeSwim() {
	println("我是一只鸭子，可以像鱼一样游泳")
}
